﻿@using KurupiraApp.Models;
@model Usuario
@{
    ViewBag.Title = "Edit";
}

<div class="container">   
    <div class="row">
        <h4 class="text-right">Editando Usuário</h4>
        <div class="span4">
            @RenderPage("partials/sidenavmenu.cshtml")
        </div>
        <div class="span8">                        
            @using (Html.BeginForm("Update", "Usuario"))
            {
                 @Html.ValidationSummary(true)
                    @Html.Hidden("UsuarioID", Model.UsuarioID)                    
                    <h3>Email <br />                        
                    </h3>           
                    <p>@Model.email</p>                             
                                
                    <h3>Telefone <br />
                        @Html.TextBox("telefone", Model.telefone , new{ placeholder="85-88699631", title="Digite apenas números", Class = "input-xxlarge"})                    
                    </h3>

                    <h3>Senha<br />
                        @Html.Password("password", Model.password , new { title="Deverá conter no mínimo 6 dígitos.", Class = "input-xxlarge"})                    
                    </h3>             

                    <!--<h3>Confirmar Senha<br />
                        <input type="password" data-toggle="tooltip" title="Deverá conter no mínimo 6 dígitos."/>                    
                    </h3>-->                                    
                    <input class="btn btn-primary btn-large" type="submit" value="Confirmar" />                           

                }      
        </div>
    </div>
</div>
                       
                             
    